package net.pethub.web;

import net.pethub.domain.Owner;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 *
 */
@Controller
@RequestMapping("/owners")
public class OwnersController {

    @RequestMapping("/search")
    public String setUpOwnersSearch(Model model) {
        model.addAttribute("owner", new Owner());
        return "owners/search";
    }

}
